using System;
using System.Collections.Generic;
using System.Text;

namespace TXLooker.Common.Debuging
{
    public class DebugManager
    {
        public static void ShowErrorDescription(string error)
        {
#if DEBUG
            ErrorViewForm form = new ErrorViewForm( error );
            form.ShowDialog();
#endif
        }
        public static void ShowErrorDescription(Exception error)
        {
            ShowErrorDescription( error.ToString() );
        }
    }
}
